<!-- 企业经营情况登记表列表项 -->
<template name="business-card">
	<view class="text-card">
		<view class="card-row card-title">
			<text class="glyphicon glyphicon-play" style="margin-right: 10px;"></text>
			{{companyName}}
		</view>
		<view class="card-row">
			<view class="row-label w20">走访时间</view>
			<view class="row-content w50">{{visitTime}}</view>
		</view>
		<view class="card-row">
			<view class="row-label w20">地址</view>
			<view class="row-content w80">{{companyAddress}}</view>
		</view>
		<view class="card-row">
			<view class="row-label w20">联系人</view>
			<view class="row-content w30">{{contactName}}</view>
			<view class="row-label w20">联系电话</view>
			<view class="row-content w30">{{contactTel}}</view>
		</view>
		<view class="card-row">
			<view class="row-label w20">许可证号</view>
			<view class="row-content w50">{{xukezhenghao}}</view>
			<view class="w30">
				<u-button type="primary" size="mini" @click="toView">查看</u-button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "business-list",
		data() {
			return {
				//状态（0未受理、1已受理、2已评定（可修改现场评分）、3已审核（不可修改现场评分）、4已公示、10作废）
			}
		},
		props: {
			id: '',
			visitId: '', // 走访人员id，expert_id
			companyId: '', // 被走访企业id a_user_id
			visitTime: '', // 走访时间
			visitBy: '', // 走访人员
			companyName: '', // 企业名称
			companyAddress: '', // 经营地址
			contactName: '', // 联系人
			contactTel: '', // 联系电话
			xukezhenghao: '', // 许可证号
		},
		computed: {
			
		},
		mounted() {

		},
		methods: {
			toView() {
				vk.navigateTo('./detail?id=' + this.$props.id);
			}
		}
	}
</script>

<style>
	@import url("/static/css/main.css");

	.m-tag {
		position: absolute;
		top: 30px;
		bottom: 20px;
		left: 0upx;
		right: 0upx;
		margin: auto;
		width: 180upx;
		transform: rotate(15deg);
		/* letter-spacing: 10px; */
		font-weight: 700;
	}

	.text-card {
		position: relative;
	}

	.cu-tag {
		/* justify-content: initial; */
	}
</style>